package com.dqx.haoqiu.repository.repository.user;

import com.dqx.haoqiu.repository.entity.TokenEntity;
import com.dqx.haoqiu.repository.entity.UserEntity;

import io.reactivex.Observable;

public interface UserSource {

    Observable<TokenEntity> login(String username, String password);

    Observable<UserEntity> getUserInfo();

    void setShowGuide(boolean show);

    boolean showGuide();

    void setShowPrivaceDialog(boolean show);

    boolean showPrivaceDialog();
}